﻿<Window x:Class="RvmExporter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Exporter" Height="350" Width="525" Closing="OnWindowClosing">
    <Grid Margin="5" Background="LightGreen">
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition Width="100"/>
        </Grid.ColumnDefinitions>
        
        <TextBlock x:Name="InfoText" VerticalAlignment="Center" HorizontalAlignment="Center">
            The message below will be exported to all consumers (Simple ViewModel)
        </TextBlock>
        
        <Button Grid.Column="1" Margin="5" x:Name="ShareButton" Click="OnShareClick">Share</Button>
        
        <TextBox x:Name="InputText" Grid.Row="1" Grid.ColumnSpan="2" Margin="5" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" AcceptsTab="True" AllowDrop="False" 
                 Text="{Binding Simple.Message, UpdateSourceTrigger=PropertyChanged}"/>
    </Grid>
</Window>
